<!--
 * @Date: 2025-07-28 22:30:15
 * @LastEditors: 贾二小 erxiao.jia@outlook.com
 * @LastEditTime: 2025-07-29 23:35:16
 * @FilePath: /admin-vue/src/components/common/full-screen.vue
-->
<script setup lang="ts">
import { $t } from '@/locales'

defineOptions({
  name: 'FullScreen',
})

interface Props {
  full?: boolean
}

defineProps<Props>()
</script>

<template>
  <ButtonIcon
    :key="String(full)"
    :tooltip-content="full ? $t('icon.fullscreenExit') : $t('icon.fullscreen')"
  >
    <icon-gridicons-fullscreen-exit v-if="full" />
    <icon-gridicons-fullscreen v-else />
  </ButtonIcon>
</template>

<style scoped></style>
